﻿@using ABC.Controllers.ViewModels
@using ABC.Controllers.ViewModels.My.News
@model NewsBaseViewModel
<div class="span3">
    @{Html.RenderPartial("_ButtonCreate");}
    <div>
        <form class="form-search">
        <input type="text" class="input-medium search-query" placeholder="Поиск по архиву">
        <button type="submit" class="btn">
            Искать</button>
        </form>
        <ul class="nav nav-pills nav-stacked">
            <li class="nav-header">Рубрики</li>
            <li class="@(Model.CategoryNews == "all" ? "active" : "")"><a href="@Url.Action("Index", "News", new { id = "" })">
                Все рубрики</a></li>
            <li class="@(Model.CategoryNews == "organization" ? "active" : "")"><a href="@Url.Action("Index", "News", new { id = "organization" })">
                Новости организации</a></li>
            <li class="@(Model.CategoryNews == "share" ? "active" : "")"><a href="@Url.Action("Index", "News", new { id = "share" })">
                Акции и спецпредложения</a></li>
            <li class="@(Model.CategoryNews == "partner" ? "active" : "")"><a href="@Url.Action("Index", "News", new { id = "partner" })">
                Новости партнеров</a></li>
            <li class="@(Model.CategoryNews == "insurance" ? "active" : "")"><a href="@Url.Action("Index", "News", new { id = "insurance" })">
                Новости страхования</a></li>
            <li class="nav-header">Метки</li>
            <ul class="tagcloud">
                @Html.TagCloud(Model.Top10Tags)
            </ul>
        </ul>
    </div>
</div>
